<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Indicates if the document is a generic (non HTML/XHTML) XML document</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="tidy.isxhtml.html">« tidy::isXhtml</a></li>
      <li style="float: right;"><a href="tidy.parsefile.html">tidy::parseFile »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="class.tidy.html">tidy</a></li>
    <li>Indicates if the document is a generic (non HTML/XHTML) XML document</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="tidy.isxml" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">tidy::isXml</h1>
  <h1 class="refname">tidy_is_xml</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8, PECL tidy &gt;= 0.5.2)</p><p class="refpurpose"><span class="refname">tidy::isXml</span> -- <span class="refname">tidy_is_xml</span> &mdash; <span class="dc-title">Indicates if the document is a generic (non HTML/XHTML) XML document</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-tidy.isxml-description">
  <h3 class="title">说明</h3>
  <p class="para">面向对象风格</p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>tidy::isXml</strong></span>(): <span class="type">bool</span></div>

  <p class="para rdfs-comment">过程化风格</p>
  <div class="methodsynopsis dc-description"><span class="methodname"><strong>tidy_is_xml</strong></span>(<span class="methodparam"><span class="type"><a href="class.tidy.html" class="type tidy">tidy</a></span> <code class="parameter">$tidy</code></span>): <span class="type">bool</span></div>

  <p class="para rdfs-comment">
   Tells if the document is a generic (non HTML/XHTML) XML document.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-tidy.isxml-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>
    
     <dt>
<code class="parameter">tidy</code></dt>

     <dd>

      <p class="para">
       The <span class="classname"><a href="class.tidy.html" class="classname">Tidy</a></span> 对象。
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-tidy.isxml-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   This function returns <strong><code>true</code></strong> if the specified tidy
   <code class="parameter">tidy</code> is a generic XML document (non HTML/XHTML),
   or <strong><code>false</code></strong> otherwise.
  </p>
  <div class="warning"><strong class="warning">警告</strong>
   <p class="para">
    This function is not yet implemented in the Tidylib itself, so it always
    return <strong><code>false</code></strong>.
   </p>
  </div>
 </div>


</div></div></div></body></html>